package org.jeecg.modules.station.service;

import org.jeecg.modules.station.entity.MtServiceStation;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: 下属服务站
 * @Author: jeecg-boot
 * @Date:   2022-08-08
 * @Version: V1.0
 */
public interface IMtServiceStationService extends IService<MtServiceStation> {
    /**
     *  保存服务站信息 并且生成部门和账号
     * @author  wrx
     * @date 2023/12/1
     * @param mtServiceStation 服务站信息
     */
    void saveServiceStationAndCreateUser(MtServiceStation mtServiceStation);

    /**
     *  删除服务站信息 并且删除账号
     * @author  wrx
     * @date 2023/12/1
     * @param mtServiceStation 服务站信息
     */
    void deleteServiceStationAndUser(MtServiceStation mtServiceStation);
}
